
from django.db import models


# 轮播图基表
class BannerBase(models.Model):
    created_time = models.DateTimeField(auto_now_add=True,verbose_name='创建时间')
    updatad_time = models.DateTimeField(auto_now=True,verbose_name='更新时间')
    is_delete = models.BooleanField(default=False,verbose_name='是否删除')
    is_show = models.BooleanField(default=True,verbose_name='是否上架')
    orders = models.IntegerField(verbose_name='优先级')

    class Meta:
        abstract = True










